package com.itheima.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


//配置类
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")//在spring项目中的yml配置文件中
public class AliOSSProperties {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}